home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-10-31 | 1.5 KB | 46 lines | [TEXT/GEOL] |
- Item 4662316 31-Oct-89 18:46
-
- From: NORVELL.J Norvell, Joel
-
- To: MACAPP.TECH$ MACAPP Tech
-
- cc: D0377 Software Supply, Steve Brecher,PRT
- DISHON.D Dishon, Danny
- MACDTS Macintosh Developer Tech. Supt.
- SHAYER1 Shayer, David
-
- Sub: A bug with Suitcase.
-
- I have a MacApp 2.0ß9 application that builds a font popup in a dialog. When
- Suitecase II 1.2.5 is installed I get a message:
-
- "Could not complete the '…' command because the required resources were not
- found." This is an "error: -192" (FailResError).
-
- The following block of code in TPopup.IRes is being executed and is failing at
- FailResError:
-
- IF rsrcID <> kNoResource THEN
- BEGIN
- CatchFailures(fi, HandleFailure);
- aMenu := GetMenu(rsrcID);
- { Don't die because resource not found - just return NIL handle }
- FailResError;
- IF aMenu <> NIL THEN
- HNoPurge(Handle(aMenu));
- SetPopup(aMenu, rsrcID, fCurrentItem, False);
- Success(fi);
- END
- ELSE…
-
- Everything works fine without Suitcase or (strangely !) if I set certain
- breakpoints (with suitcase installed) as I approach the "failure point".
-
- This failure occurs with both .Debug and .Non-Debug versions of my application.
- And the same cmnu's that the Popups use are used in the menu bar at all times.
-
- Can anyone tell me how to avoid this failure ?
-
- Hopefully yours - Joel Norvell
-
-